﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Permission
{
    /// <summary>
    /// 模块
    /// </summary>
    public class ModuleEntity
    {
        private int _moduleid;
        private int _moduletypeid;
        private string _modulename;
        private string _moduletag;
        private string _url;
        private int _sort = 0;
        private int _display;
        private int _disabled = 1;
        private string _description;
        /// <summary>
        /// 
        /// </summary>
        public int ModuleID
        {
            set { _moduleid = value; }
            get { return _moduleid; }
        }
        /// <summary>
        /// 模块类型(关联ModuleType表中的ModuleTypeID)
        /// </summary>
        public int ModuleTypeID
        {
            set { _moduletypeid = value; }
            get { return _moduletypeid; }
        }
        /// <summary>
        /// 模块名称
        /// </summary>
        public string ModuleName
        {
            set { _modulename = value; }
            get { return _modulename; }
        }
        /// <summary>
        /// 模块标识
        /// </summary>
        public string ModuleTag
        {
            set { _moduletag = value; }
            get { return _moduletag; }
        }
        /// <summary>
        /// 模块地址
        /// </summary>
        public string URL
        {
            set { _url = value; }
            get { return _url; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 是否显示在导航菜单中(1:是;2:否)
        /// </summary>
        public int Display
        {
            set { _display = value; }
            get { return _display; }
        }
        /// <summary>
        /// 是否启用((1:是;2:否))
        /// </summary>
        public int Disabled
        {
            set { _disabled = value; }
            get { return _disabled; }
        }
        /// <summary>
        /// 说明
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
    }
}
